﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Bai_2
{
    class Sinhvien: Person
    {
        int masv;
        string lop;
        public override void Nhap()
        {
            base.Nhap();
            Console.Write("Nhap MASV: ");
            masv = int.Parse(Console.ReadLine());
            Console.Write("Nhap Lop: ");
            lop = Console.ReadLine();
        }
        public override void Xuat()
        {
            base.Xuat();
            Console.WriteLine("Ma SinhVien: " +masv);
            Console.WriteLine("Lop :" +lop);
        }
    }
}
